package zoran.wang.graph;

/**
 * 图结构的节点
 *
 * @author wangzhuo
 * @time 2025-04-14-14:42
 */
public class Vertex {

    public int id;
    public Vertex[] neighbors;

    public Vertex(int id, Vertex[] neighbors) {
        this.id = id;
        this.neighbors = neighbors;
    }

    public Vertex() {
    }
}
